package com.zheng1.envii.room.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey


@Entity(tableName = "envii_ble_device_data")
class EnvIIBleDeviceDataEntity (
    @PrimaryKey(autoGenerate = true) @ColumnInfo(name = "id") val id:Int,
    @ColumnInfo(name = "timestamp") val timestamp: Long,
    @ColumnInfo(name = "deviceName") val deviceName:String,
    @ColumnInfo(name = "deviceAddress") val deviceAddress:String,
    @ColumnInfo(name = "temperature") val temperature:Float,
    @ColumnInfo(name = "humidity") val humidity:Float,
    @ColumnInfo(name = "airpressure") val airpressure:Float,
)